package com.diy.sigmund.diyoauth2.entity.enumerate;

import com.diy.sigmund.diycommon.entity.enumerate.ResponseEnum;
import java.util.Objects;

/**
 * 操作类型
 *
 * @author ylm-sigmund
 * @since 2021/8/20 10:25
 */
public enum OperateTypeEnum {
    /** "1","登录成功" */
    login_success("1", "登录成功"),
    /** "2","登录失败" */
    login_fail("2", "登录失败"),
    /** "3","登出成功" */
    signOut_success("3", "登出成功"),
    /** "4","登出失败" */
    signOut_fail("4", "登出失败"),
    ;
    private String code;
    private String msg;

    OperateTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
